<?php

return [
    'menu' => [
        'agent' => [
            'name' => '品牌管理',
            'ico' => 'layui-icon-home',
            'sub' => [
                'index' => ['name' => '品牌列表', 'uri' => '/agent/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'agent_del' => ['name' => '删除品牌', 'uri' => '/agent/agent_del', 'show' => false, 'method' => 'get|post'],
                'agent_status' => ['name' => '冻结、解绑操作', 'uri' => '/agent/agent_status', 'show' => false, 'method' => 'post'],
                'agent_edit' => ['name' => '管理商家', 'uri' => '/agent/agent_edit', 'show' => false, 'method' => 'get|post'],
                'product' => ['name' => '产品列表', 'uri' => '/agent/product', 'show' => true, 'method' => 'get'],  //index 方法名
                'product_del' => ['name' => '产品删除', 'uri' => '/agent/product_del', 'show' => false, 'method' => 'get|post'],
                'taocan_list' => ['name' => '产品添加组合', 'uri' => '/agent/taocan_list', 'show' => false, 'method' => 'get|post'],
                'taocan' => ['name' => '产品组合', 'uri' => '/agent/taocan', 'show' => true, 'method' => 'get'],  //index 方法名
                'taocan_del' => ['name' => '删除组合', 'uri' => '/agent/taocan_del', 'show' => false, 'method' => 'get|post'],
                'taocan_edit' => ['name' => '组合产品清单', 'uri' => '/agent/taocan_edit', 'show' => false, 'method' => 'get|post'],
                'taocan_excel' => ['name' => '导出组合excel', 'uri' => '/agent/taocan_excel', 'show' => false, 'method' => 'get|post'],
                'import_taocanlist' => ['name' => '导入组合产品', 'uri' => '/agent/import_taocanlist', 'show' => false, 'method' => 'get|post'],
                'taocan_add' => ['name' => '添加组合', 'uri' => '/agent/taocan_add', 'show' => false, 'method' => 'get|post'],
                'taocanlog_del' => ['name' => '组合产品编辑、删除', 'uri' => '/agent/taocanlog_del', 'show' => false, 'method' => 'get|post'],
                'taocan_status' => ['name' => '产品隐藏', 'uri' => '/agent/taocan_status', 'show' => false, 'method' => 'get|post'],
                'import_product' => ['name' => 'excel产品导入', 'uri' => '/agent/import_product', 'show' => false, 'method' => 'get|post'],
                'product_status' => ['name' => '推荐、隐藏产品', 'uri' => '/agent/product_status', 'show' => false, 'method' => 'post'],
                'product_edit' => ['name' => '编辑添加产品', 'uri' => '/agent/product_edit', 'show' => false, 'method' => 'get|post'],
                'product_excel' => ['name' => '导出编号', 'uri' => '/agent/product_excel', 'show' => false, 'method' => 'get|post'],
                'import_product_bianhao' => ['name' => '导入编号', 'uri' => '/agent/import_product_bianhao', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
        'orders' => [
            'name' => '服务订单',
            'ico' => 'layui-icon-form',
            'sub' => [
                'index' => ['name' => '订单列表', 'uri' => '/orders/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'order_edit' => ['name' => '查看订单', 'uri' => '/orders/order_edit', 'show' => false, 'method' => 'get|post'],
                'order_status' => ['name' => '操作订单', 'uri' => '/orders/order_status', 'show' => false, 'method' => 'get|post'],
                'order_excel' => ['name' => '订单导出', 'uri' => '/orders/order_excel', 'show' => false, 'method' => 'get|post'],
                'order_excel1' => ['name' => '导出乐行格式', 'uri' => '/orders/order_excel1', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
        'user' => [
            'name' => '账号管理',
            'ico' => 'layui-icon-username',
            'sub' => [
                'index' => ['name' => '账号列表', 'uri' => '/user/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'user_edit' => ['name' => '查看订单', 'uri' => '/user/user_edit', 'show' => false, 'method' => 'get|post'],
                'user_status' => ['name' => '冻结、解绑操作', 'uri' => '/user/user_status', 'show' => false, 'method' => 'post'],
            ],
            'show' => true,
        ],
        'system' => [
            'name' => '系统设置',
            'ico' => 'layui-icon-set',
            'sub' => [
                'annous' => ['name' => '公告管理', 'uri' => '/system/annous', 'show' => true, 'method' => 'get'],  //index 方法名
                'annous_edit' => ['name' => '公告编辑、管理', 'uri' => '/system/annous_edit', 'show' => false, 'method' => 'get|post'],
                'annous_del' => ['name' => '公告删除', 'uri' => '/system/annous_del', 'show' => false, 'method' => 'get|post'],
                'paymentlist' => ['name' => '收款信息', 'uri' => '/system/paymentlist', 'show' => true, 'method' => 'get'],  //index 方法名
                'paymentlist_edit' => ['name' => '收款信息编辑、管理', 'uri' => '/system/paymentlist_edit', 'show' => false, 'method' => 'get|post'],
                'paymentlist_del' => ['name' => '收款信息删除', 'uri' => '/system/paymentlist_del', 'show' => false, 'method' => 'get|post'],
                'banner' => ['name' => '轮播图管理', 'uri' => '/system/banner', 'show' => true, 'method' => 'get'],  //index 方法名
                'banner_edit' => ['name' => '轮播图编辑、管理', 'uri' => '/system/banner_edit', 'show' => false, 'method' => 'get|post'],
                'banner_del' => ['name' => '轮播图删除', 'uri' => '/system/banner_del', 'show' => false, 'method' => 'get|post'],
                'cate' => ['name' => '栏目类别', 'uri' => '/system/cate', 'show' => true, 'method' => 'get'],  //index 方法名
                'cate_edit' => ['name' => '类别编辑、管理', 'uri' => '/system/cate_edit', 'show' => false, 'method' => 'get|post'],
                'cate_del' => ['name' => '类别删除', 'uri' => '/system/cate_del', 'show' => false, 'method' => 'get|post'],
                'cate_status' => ['name' => '显示隐藏操作', 'uri' => '/system/cate_status', 'show' => false, 'method' => 'post'],
                'message' => ['name' => '留言管理', 'uri' => '/system/message', 'show' => true, 'method' => 'get'],  //index 方法名
                'replymessage' => ['name' => '内容回复', 'uri' => '/system/replymessage', 'show' => false, 'method' => 'get|post']
            ],
            'show' => true,
        ],
        'admin' => [  /// controller名
            'name' => '管理员列表',
            'ico' => 'layui-icon-user',
            'sub' => [
                'index' => ['name' => '管理员列表', 'uri' => '/admin/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'input' => ['name' => '添加管理员', 'uri' => '/admin/input', 'show' => false, 'method' => 'get|post'],
                'del' => ['name' => '管理员删除', 'uri' => '/admin/del', 'show' => false, 'method' => 'get|post'],
                'login_log' => ['name' => '登录日志', 'uri' => '/admin/login_log', 'show' => true, 'method' => 'get']
            ],
            'show' => true,
        ],

    ]
];
